package com.fneuch.w40k;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class AccueilController {

	@RequestMapping(value = "/")
	public ModelAndView root() {
        return accueil();
	}

	@RequestMapping("/accueil")
    public ModelAndView accueil() {
        ModelAndView mav = new ModelAndView();
        mav.setViewName("accueil");
        return mav;
    }

}
